import myqiniu
from os import path
imgurl = 'http://www.biketo.com/d/file/news/girl/2020-04-17/f377f70fed758d6f956ce1898e1fde38.jpg'
key = path.basename(imgurl)
myqiniu.upload_qiniu('C:/Yw-Test/spider/f377f70fed758d6f956ce1898e1fde38.jpg', 'f377f70fed758d6f956ce1898e1fde38.jpg')